/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.inathitunzana.principles.ispviolate;

/**
 *
 * @author Student
 */
public class Dialler
{
    String telephone;
    public void SetCall(Contact contact)
    {
        telephone = contact.GetTelephone();
        // this class is aware of other members/attributes of the Contact class
        // Example: name, email, address. Violates ISP
    }

    public String MakeCall()
    {
        return "Calling " +telephone+ ". . .";
    }
}

